package cn.iocoder.yudao.module.call.controller.admin.stat.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 外呼统计报 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StatOwnerRespVO {

    @Schema(description = "时间")
    @ExcelProperty("时间")
    private String datetime;

    @Schema(description = "负责人", requiredMode = Schema.RequiredMode.REQUIRED, example = "25064")
    private Long ownerUserId;

    @Schema(description = "deptId")
    private Long deptId;

    @Schema(description = "坐席工号")
    @ExcelProperty("坐席工号")
    private String agentNumber;

    @Schema(description = "员工名称")
    @ExcelProperty("坐席")
    private String nickname;

    @Schema(description = "部门")
    @ExcelProperty("部门")
    private String deptName;

    @Schema(description = "呼叫总量", requiredMode = Schema.RequiredMode.REQUIRED, example = "20645")
    @ExcelProperty("呼叫总量")
    private Integer totalCount;

    @Schema(description = "接通量", requiredMode = Schema.RequiredMode.REQUIRED, example = "22388")
    @ExcelProperty("接通量")
    private Integer successCount;

    @Schema(description = "漏接量", requiredMode = Schema.RequiredMode.REQUIRED, example = "22388")
    @ExcelProperty("漏接量")
    private Integer leakCount;

    @Schema(description = "失败量", requiredMode = Schema.RequiredMode.REQUIRED, example = "22388")
    @ExcelProperty("失败量")
    private Integer failCount;

    @Schema(description = "错误量", requiredMode = Schema.RequiredMode.REQUIRED, example = "22388")
    @ExcelProperty("错误量")
    private Integer illegalCount;

    @Schema(description = "接通率", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("接通率")
    private Double rate;

    @Schema(description = "呼叫时长(秒)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("呼叫时长(秒)")
    private Integer callSecond;

    @Schema(description = "计费分钟", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("计费分钟")
    private Integer callMinute;

    @Schema(description = "使用话费", requiredMode = Schema.RequiredMode.REQUIRED)
//    @ExcelProperty("使用话费")
    private Double callCostPrice;


    @Schema(description = "使用话费", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("使用话费")
    private Double callSalePrice;

    @Schema(description = "年", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer year;

    @Schema(description = "月", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer month;

    @Schema(description = "日", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer day;

    @Schema(description = "周", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer week;

    @Schema(description = "小时")
    private Integer hour;


}